package io.kiki.sba.registry.common.model.metaserver.blacklist;

import io.kiki.sba.registry.common.model.Node.NodeType;
import io.kiki.sba.registry.common.model.metaserver.DataOperation;
import io.kiki.sba.registry.common.model.metaserver.NodeServerOperateInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;


@Getter
public class RegistryForbiddenServerRequest implements Serializable {

    private final DataOperation operation;

    private final NodeType nodeType;

    private final String ip;

    private final String cell;

    @Setter
    private NodeServerOperateInfo operateInfo;


    public RegistryForbiddenServerRequest(DataOperation operation, NodeType nodeType, String ip, String cell) {
        this.operation = operation;
        this.nodeType = nodeType;
        this.ip = ip;
        this.cell = cell;
    }


}
